#include<bits/stdc++.h>

using namespace std;

map<int, int> mp;

signed main() {
    freopen("duel.in", "r", stdin);
    freopen("duel.out", "w", stdout);
    int n;
    scanf("%d", &n);
    while (n--) {
        int x;
        scanf("%d", &x);
        mp[x]++;
    }
    int mx = 0;
    for (auto p: mp) mx = max(mx, p.second);
    cout << mx;
    return 0;
}
